package com.mycat.auth.domain;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 浠ｇ爜鐢熸垚鍣ㄨ嚜鍔ㄧ敓鎴�
 * Date:2016-8-26 16:02:39
 * @author Roger
 */
@Table(name = "sys_ref_role_auth")
public class RefRoleAuth implements Serializable{
	private static final long serialVersionUID = 1L;
	
    @Column(name = "fd_roleId")
  	private Integer roleId; // 角色id
    @Column(name = "fd_resourceId")
  	private Integer resourceId; // 资源id

	public RefRoleAuth(Integer roleId, Integer resourceId) {
		this.roleId = roleId;
		this.resourceId = resourceId;
	}

	/**
	 * 鑾峰彇  角色id 
	 * @return roleId
	 */
	public Integer getRoleId(){
		return roleId;
	}

	/**
	 * 璁剧疆  角色id
	 * @param roleId 
	 */
	public void setRoleId(Integer roleId){
		this.roleId = roleId;
	}

	/**
	 * 鑾峰彇  资源id 
	 * @return resourceId
	 */
	public Integer getResourceId(){
		return resourceId;
	}

	/**
	 * 璁剧疆  资源id
	 * @param resourceId 
	 */
	public void setResourceId(Integer resourceId){
		this.resourceId = resourceId;
	}
}